package com.kzc.dao;

import com.kzc.core.MyBatisDao;
import com.kzc.entity.Article;
import com.kzc.entity.FeedBack;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Options;

/**
 * Author：柯尊诚
 * Created by anyleKe on 2016/2/26.
 */
@MyBatisDao
public interface FeedBackDao {

    @Options(useGeneratedKeys=true, keyProperty="id")
    @Insert("insert into t_feedback(content, create_time, qtoken) " +
            "values(#{content}, #{createTime}, #{qtoken})")
    int add(FeedBack feedBack);
}
